@extends('backend.layouts.master')
@section('main')    
<!-- main content -->
<form method="post" class="form-horizontal" enctype="multipart/form-data">
<div id="content" class="span9">
<div class="page-header">
<h1><span class="icon-newspaper margin30"></span> Sửa thông báo</h1>
      </div>
      <div class="clearfix"></div>
      <div class="noidung">
      	<table id="table-article">
      		<tr>
      			<td width="15%">Tiêu đề<span class="require"> *</span></td>
      			<td width="35%" colspan="3" class="err"><input type="text" id="title" name="title" data-validation="required" value="{{$article->tieude}}" style="width:400px"></td>	
      		</tr>
                   <tr>
                        <td>Ngày tạo<span class="require"> *</span></td>
                        <td><input type="text" id="create" class='datepicker' name='create' value='{{date("Y-m-d", strtotime($article->ngaytao))}}'/></td>
                  </tr>
      		<tr>
      			<td colspan="4">
      				Nội dung<textarea id="content" name="content" class="ckeditor" rows="10">{{$article->noidung}}</textarea>
      			</td>
      		</tr>
      	</table>
      	<div id="div-footer">
      		<button type="submit" class="btn btn-primary" id="save">Sửa</button>
      		<a href="{{URL::to('adminloyhongo/content')}}" class="btn btn-info">Cancel</a>
      	</div>
      </div>
</div> 
</form> 
@stop
<!-- end main content -->    